﻿#ifndef CHECKOPTIONATTRIBUTESETTING_H
#define CHECKOPTIONATTRIBUTESETTING_H
#include <qshareddata.h>
#include "CheckOptionAttributeSetting_global.h"
#include <QString>
#include <qxmlstream.h>
#include <QSharedPointer>

class CHECKOPTIONATTRIBUTESETTING_EXPORT CheckOptionAttributeSetting {
public:
	QString readFile;
	const char* coutNodeName = "cout";
	const char* istreamNodeName = "istream";
	const char* fileNodeName = "file";
	CheckOptionAttributeSetting(const QString& file);
	void getXml(QXmlStreamReader& readerStream
		, QSharedPointer<QVector<QString>>& xmlCout
		, const QString& nodeName);
	QSharedPointer<QHash<QString, QSharedPointer<QVector<QString>>>> readDefaultFile( );
};
#endif // CHECKOPTIONATTRIBUTESETTING_H
